package com.chenxi;

import com.chenxi.service.UserInterface;
import com.chenxi.service.UserService;
import com.spring.ChenxiApplicationContext;

public class Test {
    public static void main(String[] args) {
        ChenxiApplicationContext applicationContext = new ChenxiApplicationContext(AppConfig.class);
        UserInterface userService = (UserInterface)applicationContext.getBean("userService");
        userService.test();

    }
}
